package amd.core.data;


import amd.core.extraction.TermsExtractor;
import java.io.File;
import java.util.ArrayList;

/**
 *
 *
 * @author Latifah Dwi Nurachma
 * @version 090415
 */
public class DocumentPdf
{
	private File fileDocument;

    private String idDoc;
    private String docAbstract;
	private String author;
	private String filename;
	private String location;
	private int n_pages;
	private String title;
    private int panjang;

    private ListTermFrequency term;

    // instance variables


	/**
	 * Constructor for objects of class Document
	 */
	public DocumentPdf(File fileDocument)	{
        this.fileDocument = fileDocument;
	}

	/**
	 *
	 * @param terms
	 */
	private void addTerm(ArrayList terms){

	}


	/**
	 *
	 * @param doc
	 */
    public void setIdDoc(String idDoc){
        this.idDoc = idDoc;
    }

    public String getIdDoc(){
        return idDoc;
    }

//    private String doc_abstract;
    public void setDocAbstract(String docAbstract){
        this.docAbstract = docAbstract;
    }

    public String getDocAbstract(){
        return docAbstract;
    }

//	private String author;
    public void setAuthor(String author){
        this.author = author;
    }

    public String getAuthor(){
        return author;
    }

//	private String filename;
    public void setFileName(String filename){
        this.filename = filename;
    }

    public String getFileName(){
        return filename;
    }
//	private String location;
    public void setLocation(String location){
        this.location = location;
    }

    public String getLocation(){
        return location;
    }

//	private int n_pages;
    public void setNPages(int n_pages){
        this.n_pages = n_pages;
    }

    public int getNPages(){
        return n_pages;
    }

//	private ListTerms term;
    public void setTerm(ListTermFrequency listTerm){
        term = listTerm;
    }

    public ListTermFrequency getTerm(){
        return term;
    }

//	private String title;
    public void setTitle(String title){
        this.title = title;
    }

    public String getTitle(){
        return title;
    }
    public void setPanjang(int p){
        this.panjang = p;
    }

    public int getPanjang(){
        return panjang;
    }

    //    private PdfReader pdf;
}
